<?php

namespace app\admin\jobs;

use app\admin\service\Crontab;
use app\api\model\Carts;
use app\facade\Mail;

class SendMailFromCart
{
    /**
     * 发布社媒文案到社媒平台 具体实现
     * @param $data
     * @return bool
     */
    public function execute()
    {
            echo 'SendMailFromCart start '.time();
            $result =  Mail::send('cart');
            echo $result;
            echo 'SendMailFromCart end '.time();
            return true;
    }
}
